#include <iostream>
using namespace std;

bool isDivisibleByRange(int num, int bottom, int top){
    for(int i = bottom; i<=top; i++){
        if(num%i!=0){
            return false;
        }
    }
    return true;
}

int main(){
    int bottom = 1;
    int top = 20;
    int i = 0;
    while(true){
        i+= top;
        if(isDivisibleByRange(i,bottom,top)){
            cout << i << endl;
            break;
        }
    }
    return 0;
}
